package com.hy.myapp.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface FutureMapper {
	@Select(" select disabled from mc_interface where id=#{id} ")
	int isCodeDisabled(@Param("id") String code);
	
	@Select(" select count(*) from mc_blacksheet where id=#{id} and ip=#{ip} ")
	int isIpBlocked(@Param("id") String code,@Param("ip") String ip);
}
